package com.breeze.blockchain.common.enums;

import com.breeze.components.core.enums.EnumInterface;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 用户状态
 *
 * @author breeze
 */
@AllArgsConstructor
@Getter
public enum LoginStatusEnum implements EnumInterface {
  /** status of user */
  LOGIN_SUCCESS(1, "登录成功"),
  LOGOUT(2, "退出成功"),
  REGISTER(3, "注册"),
  LOGIN_FAIL(0, "登录失败");

  private final int code;
  private final String desc;
}
